<script setup lang="ts">
import { onMounted } from 'vue'
import { ElMessage } from 'element-plus'
// import { loginGet } from "./api/login.ts";
onMounted(() => {
  try {
    // loginGet().then((data) => {
    //   console.log(data);
    // });
  } catch (error) {
    ElMessage({
      showClose: true,
      message: '登录状态失效, 请重新登录',
      type: 'error'
    })
  }
})
</script>

<template>
  <router-view></router-view>
</template>

<style>
#app {
  width: 100%;
  height: 100%;
}
</style>
